package com.zzy.threaddemo.old;

import java.util.concurrent.Callable;

public class CountNum implements Callable<Integer>{

	public Integer call() throws Exception {
	    int abc=0;
		for(int i=0;i<10;i++){
			Thread.sleep(1000);
			abc++;
		}
		return abc;
		//递归调用
	}
	
}
